package com.jiazhong.shixi.bean.mapper;

import com.jiazhong.shixi.bean.bean.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Locale;

@Mapper
public interface CategoryMapper {

    //获取到所有的分类数据
    @Select("select * from category limit 0,8")
    List<Category> find();

}
